projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
425e26d
)
exynos: clock: fixed that cfg is set to wrong value.
author
Inha Song
<
[email protected]
>
Thu, 6 Feb 2014 05:20:10 +0000
(14:20 +0900)
committer
Minkyu Kang
<
[email protected]
>
Mon, 10 Feb 2014 07:00:27 +0000
(16:00 +0900)
This patch fixed that cfg value is set to wrong value.
Because it didn't read the related register.
Signed-off-by: Inha Song <
[email protected]
>
Signed-off-by: Jaehoon Chung <
[email protected]
>
Signed-off-by: Minkyu Kang <
[email protected]
>
arch/arm/cpu/armv7/exynos/clock.c
patch
|
blob
|
history
diff --git
a/arch/arm/cpu/armv7/exynos/clock.c
b/arch/arm/cpu/armv7/exynos/clock.c
index 6807ff3c37f78d4645df31fc22b5f4eea56342f9..61cd8cf425d6c3c62467dbe7d7194349d6562517 100644
(file)
--- a/
arch/arm/cpu/armv7/exynos/clock.c
+++ b/
arch/arm/cpu/armv7/exynos/clock.c
@@
-1114,6
+1114,7
@@
void exynos4_set_lcd_clk(void)
* MIPI0_PRE_RATIO [23:20]
* set fimd ratio
*/
+ cfg = readl(&clk->div_lcd0);
cfg &= ~(0xf);
cfg |= 0x1;
writel(cfg, &clk->div_lcd0);
@@
-1176,6
+1177,7
@@
void exynos5_set_lcd_clk(void)
* MIPI0_PRE_RATIO [23:20]
* set fimd ratio
*/
+ cfg = readl(&clk->div_disp1_0);
cfg &= ~(0xf);
cfg |= 0x0;
writel(cfg, &clk->div_disp1_0);
@@
-1236,6
+1238,7
@@
void exynos4_set_mipi_clk(void)
* MIPI0_PRE_RATIO [23:20]
* set mipi ratio
*/
+ cfg = readl(&clk->div_lcd0);
cfg &= ~(0xf << 16);
cfg |= (0x1 << 16);
writel(cfg, &clk->div_lcd0);